import request from "@/utils/request";
import qs from "qs";
// 获取用户订单
export async function fetchMyLoanRecord() {
    return await request.get('myLoanRecordList')
}
// 用户查看订单详情
export async function lookOrderDetails(params) {
    return await request.get('loanRecordDetails',{params})
}
// 我的还款详情
export async function repaymentDetails(params) {
    return await request.get('repaymentDetails',{params})
}
// 获取虚拟卡
export async function fetchVirtualCard(params) {
    return await request.get('queryVirtualAccount',{params})
}
// 获取虚拟卡提示信息
export async function fetchBankRemark(params) {
    return await request.post('/user/getMessageByType',params)
}
// 注册虚拟卡
export async function registerVirtual(params) {
    return await request.post('registerVirtualAccount',params)
}
// 取消虚拟卡
export async function cancelVirtual(params) {
    return await request.post('cancelVirtualAccount',params)
}
// 获取展期天数
export async function fetchExtendDay(params) {
    return await request.get('rollOverList', {params})
}
